package com.wjp.villagemp.mapper.manage;

import com.wjp.villagemp.model.manage.CourseEntity;
import com.wjp.villagemp.utils.MyMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: Jacob
 * @Date: 2019/1/18 17:30
 * @Description:
 */
@Mapper
public interface CourseMapper extends MyMapper<CourseEntity> {

    List<CourseEntity> listCourse(@Param("pageSize") int pageSize, @Param("start") int start, @Param("courseNum") int courseNum);

    Integer countCourse(@Param("courseNum") int courseNum);
}
